<template>
  <div class="page-detail">
    <!-- <div class="page-detail-nav">这是导航栏部分</div> -->
    <div class="page-detail-main">
      <div class="page-detail-main-content">
        <Content />
      </div>
      <div class="page-detail-main-sidebar">
        <SideBar />
      </div>
    </div>
  </div>
</template>

<script>
import Content from "@/components/pageDetail/Content/index.vue";
import SideBar from "@/components/pageDetail/SideBar/index.vue"
export default {
  name: "PageDetail",
  components: {
    Content,
    SideBar
  },
}
</script>

<style style="less" scoped>
.page-detail{
  width: 100%;
  background: #F4F5F5;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.page-detail-nav{
  width: 100%;
  margin: 20px;
}
.page-detail-main{
  width: 70%;
  display: flex;
  justify-content: space-evenly;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-detail-main-content{
  width: 62%;
}
.page-detail-main-sidebar{
  width: 30%;
}
@media screen and (max-width:800px) {
  .page-detail-main{
    width: 100%;
  }
  .page-detail-main-content{
    width: 100%;
  }
  .page-detail-main-sidebar{
    display: none;
  }
}
</style>